using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;
namespace Thaire.Investment.Repository.Mapping
{
       
    class   DepositTransactionMap : ClassMap<DepositTransaction>
    {

        public DepositTransactionMap()
            {
                Table("DEPOSIT_TRANSACTION");
                Id(x => x.DepositTransactionID,"DEPOSIT_TRANSACTION_ID").GeneratedBy.Native();

                Map(x => x.DepositHeaderID,"DEPOSIT_HEADER_ID");
 Map(x => x.TransactionType,"TRANSACTION_TYPE");
 Map(x => x.RefNO,"REF_NO");
 Map(x => x.TypeofpaymentID,"TYPEOFPAYMENT_ID");
 Map(x => x.SettlementDate,"SETTLEMENT_DATE");
 Map(x => x.TradeDate,"TRADE_DATE");
 Map(x => x.Amount,"AMOUNT");
 Map(x => x.Unit,"UNIT");
 Map(x => x.GuaranteeType,"GUARANTEE_TYPE");
 Map(x => x.ObligationID,"OBLIGATION_ID");
 Map(x => x.ObligationNOID,"OBLIGATION_NO_ID");
 Map(x => x.GuaranteeStartDate,"GUARANTEE_START_DATE");
 Map(x => x.GuaranteeEndDate,"GUARANTEE_END_DATE");
 Map(x => x.CreateDate,"CREATE_DATE");
 Map(x => x.CreateBY,"CREATE_BY");
 Map(x => x.ModifyDate,"MODIFY_DATE");
 Map(x => x.ModifyBY,"MODIFY_BY");

            }


    }

}